<template>
	<view>
		<view>{{info.id}}</view>
		<view>{{info.title}}</view>
		<view>{{info.content}}</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:{},
			}
		},
		methods: {
			
		},
		onLoad(params){
			this.api.request({url:'/api/v1/article/'+params.id,method:'GET',
			}).then(res=>{
				if(res.code==800){
					this.info = res.data;
				}
			});
		}
	}
</script>

<style>

</style>
